package com.pipayshop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pipayshop.entity.TradinPost;
import com.pipayshop.entity.vo.PageDataVO;
import com.pipayshop.entity.vo.TraditionDetailVO;
import com.pipayshop.entity.vo.TraditionListVO;


import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wzx
 * @since 2023-09-09
 */
public interface TradinPostService extends IService<TradinPost> {

    boolean publishTradition(String token);


    TraditionDetailVO selectTraditionDetail(String tradinId) throws InterruptedException;




    List<TraditionListVO> selectTradinPostByUid(String token);


    List<TraditionListVO> selectTraditionListByPiName(Integer typeId, Integer page, Integer limit, String piName);

    void cancelTradition(String tradinId, String piName);

}
